import axios from 'axios'

export function getLyric(id) {
  const url = 'https://v1.itooi.cn/netease/lrc'

  const data = {
    id: id
  }

  return axios.get(url, {
    params: data
  }).then((res) => {
    return Promise.resolve(res.data)
    // return Pres.datra
  })
}